﻿using System.Windows.Controls;
using QDP.Platform.Silverlight;
using Services.Maps;

namespace Apps.Maps
{
    public class MapControlWidget : PartElement
    {
        private IMapService mapService;
        public MapControlWidget()
        {
            mapService = new MapContainer();
            WidgetContent = mapService as UserControl;
            WidgetParent = Q.MainPage.Root;
            mapService.ShowNorMap();
        }
    }
}
